package linlist;

public class Stack{
  LinearList list=new LinearList();

  public void push(Object obj){list.insert(obj, 0);}
  public Object pop(){return list.delete(0);}
  public Object peek(){return list.get(0);}
  public boolean isempty(){return list.isempty();}
}
